import 'package:gg_networking/gg_networking.dart';
import 'package:gg_networking/src/gg_requestSign.dart';

void main() async{

  DGGRequestSign.sysCode = 'qidabao';
  DGGRequestSign.sysKey = 'dadadadqwdqwdqwdqwdqw';

  DGGNetWorking.requestBaseURL = '';
  DGGNetWorking.isOpenResign = true;

  DGGNetWorking.addSettingForProxy('172.16.22.137:8888');

  var result = await DGGNetWorking.getRequest('http://www.baidu.com',header: {'hhh':'jjj'});

  await DGGNetWorking.postRequest('https://www.dgg188.cn/login.do',params: {},header: {'hh':'777'});

  //print(result);
}
